package string;

public class ReplaceAllDemo {
    public static void main(String[] args) {
        String str = "aaa6bbb7ccc8def";
        String s = str.replaceAll("\\d",",");
        System.out.println(s);
    }
}
